package com.ydd.entity;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonProperty;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* 
* @TableName ydd_article
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ydd_article")
//@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)// 下划线驼峰命名转换
public class YddArticle implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String title;
    private String author;
    private String keywords;
    private String description;
    private String content;
    private String pic;
    private Long click;
    private Integer ishot;
    private Integer istop;
    @JsonProperty("create_date")
    private Long createDate;
    @JsonProperty("update_date")
    private Long updateDate;
    private Integer cateid;
    private String tags;
    private Integer status;
    private String lovenum;
    @JsonProperty("user_id")
    private Integer userId;
    @JsonProperty("default_data")
    private String defaultData;

}
